[INFO] fetching crate freertos_rs 0.3.0...
[INFO] building freertos_rs-0.3.0 against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] extracting crate freertos_rs 0.3.0 into /workspace/builds/worker-11/source
[INFO] validating manifest of crates.io crate freertos_rs 0.3.0 on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate freertos_rs 0.3.0
[INFO] finished tweaking crates.io crate freertos_rs 0.3.0
[INFO] tweaked toml for crates.io crate freertos_rs 0.3.0 written to /workspace/builds/worker-11/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 34c227159de7c08ac46960d592bcc920c0c54023df1bbc09e21a50d54c4f7c95
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "34c227159de7c08ac46960d592bcc920c0c54023df1bbc09e21a50d54c4f7c95", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "34c227159de7c08ac46960d592bcc920c0c54023df1bbc09e21a50d54c4f7c95", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "34c227159de7c08ac46960d592bcc920c0c54023df1bbc09e21a50d54c4f7c95", kill_on_drop: false }`
[INFO] [stdout] 34c227159de7c08ac46960d592bcc920c0c54023df1bbc09e21a50d54c4f7c95
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fae38deb9d8895125bdc397433c14f55ab2c0913d7fd63db0f705e63a23635f9
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "fae38deb9d8895125bdc397433c14f55ab2c0913d7fd63db0f705e63a23635f9", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling freertos_rs v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::base::*`
[INFO] [stdout]  --> src/shim.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::base::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::task::*`
[INFO] [stdout]  --> src/timers.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::task::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::mutex::*`
[INFO] [stdout]  --> src/timers.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::mutex::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::queue::*`
[INFO] [stdout]  --> src/timers.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::queue::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/timers.rs:74:45
[INFO] [stdout]    |
[INFO] [stdout] 74 | ...                   callback: Box<Fn(Timer) + Send + 'a>,)
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Timer) + Send + 'a`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/timers.rs:108:72
[INFO] [stdout]     |
[INFO] [stdout] 108 |                         let b = Box::from_raw(callback_ptr as *mut Box<Fn(Timer)>);
[INFO] [stdout]     |                                                                        ^^^^^^^^^ help: use `dyn`: `dyn Fn(Timer)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/timers.rs:191:56
[INFO] [stdout]     |
[INFO] [stdout] 191 |                 Box::from_raw(callback_ptr as *mut Box<Fn(Timer)>);
[INFO] [stdout]     |                                                        ^^^^^^^^^ help: use `dyn`: `dyn Fn(Timer)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` is ignored on function prototypes
[INFO] [stdout]    --> src/mutex.rs:105:5
[INFO] [stdout]     |
[INFO] [stdout] 105 |     #[inline]
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_attributes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` is ignored on function prototypes
[INFO] [stdout]    --> src/mutex.rs:107:5
[INFO] [stdout]     |
[INFO] [stdout] 107 |     #[inline]
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` is ignored on function prototypes
[INFO] [stdout]    --> src/mutex.rs:109:5
[INFO] [stdout]     |
[INFO] [stdout] 109 |     #[inline]
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` is ignored on function prototypes
[INFO] [stdout]  --> src/units.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     #[inline]
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` is ignored on function prototypes
[INFO] [stdout]  --> src/units.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     #[inline]
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:184:9
[INFO] [stdout]     |
[INFO] [stdout] 184 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:201:9
[INFO] [stdout]     |
[INFO] [stdout] 201 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:228:9
[INFO] [stdout]     |
[INFO] [stdout] 228 |         unsafe { freertos_rs_task_notify_take(if clear { 1 } else { 0 }, wait_for.to_ticks()) }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:239:17
[INFO] [stdout]     |
[INFO] [stdout] 239 |         let r = unsafe { 
[INFO] [stdout]     |                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:255:9
[INFO] [stdout]     |
[INFO] [stdout] 255 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:266:9
[INFO] [stdout]     |
[INFO] [stdout] 266 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:273:9
[INFO] [stdout]     |
[INFO] [stdout] 273 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:345:9
[INFO] [stdout]     |
[INFO] [stdout] 345 |         unsafe { freertos_rs_xTaskGetTickCount() }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:353:9
[INFO] [stdout]     |
[INFO] [stdout] 353 |         unsafe { freertos_rs_get_number_of_tasks() as usize }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/timers.rs:138:9
[INFO] [stdout]     |
[INFO] [stdout] 138 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/timers.rs:149:9
[INFO] [stdout]     |
[INFO] [stdout] 149 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/timers.rs:160:9
[INFO] [stdout]     |
[INFO] [stdout] 160 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/timers.rs:178:9
[INFO] [stdout]     |
[INFO] [stdout] 178 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/queue.rs:23:22
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let handle = unsafe { freertos_rs_queue_create(max_size as u32, item_size as u32) };
[INFO] [stdout]    |                      ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/queue.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/queue.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/semaphore.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/semaphore.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/semaphore.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/semaphore.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/semaphore.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/mutex.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:117:17
[INFO] [stdout]     |
[INFO] [stdout] 117 |         let m = unsafe { freertos_rs_create_mutex() };
[INFO] [stdout]     |                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:125:19
[INFO] [stdout]     |
[INFO] [stdout] 125 |         let res = unsafe { freertos_rs_take_mutex(self.0, max_wait.to_ticks()) };
[INFO] [stdout]     |                   ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:135:9
[INFO] [stdout]     |
[INFO] [stdout] 135 |         unsafe { freertos_rs_give_mutex(self.0); }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:141:9
[INFO] [stdout]     |
[INFO] [stdout] 141 |         unsafe { freertos_rs_delete_semaphore(self.0) }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:154:17
[INFO] [stdout]     |
[INFO] [stdout] 154 |         let m = unsafe { freertos_rs_create_recursive_mutex() };
[INFO] [stdout]     |                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:162:19
[INFO] [stdout]     |
[INFO] [stdout] 162 |         let res = unsafe { freertos_rs_take_recursive_mutex(self.0, max_wait.to_ticks()) };
[INFO] [stdout]     |                   ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:172:9
[INFO] [stdout]     |
[INFO] [stdout] 172 |         unsafe { freertos_rs_give_recursive_mutex(self.0); }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:178:9
[INFO] [stdout]     |
[INFO] [stdout] 178 |         unsafe { freertos_rs_delete_semaphore(self.0) }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/units.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         unsafe { freertos_rs_get_portTICK_PERIOD_MS() }
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/units.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |         unsafe { freertos_rs_max_wait() }
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/utils.rs:37:22
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let c_size = unsafe { freertos_rs_sizeof(check.0) };
[INFO] [stdout]    |                      ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/isr.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |             unsafe { freertos_rs_isr_yield(); }
[INFO] [stdout]    |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/delays.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]  --> src/critical.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |         unsafe { freertos_rs_enter_critical(); }
[INFO] [stdout]   |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/critical.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         unsafe { freertos_rs_exit_critical(); }
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias is never used: `FreeRtosStackType`
[INFO] [stdout]   --> src/base.rs:40:1
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub type FreeRtosStackType = *const CVoid;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Finished`
[INFO] [stdout]   --> src/patterns/compute_task.rs:96:5
[INFO] [stdout]    |
[INFO] [stdout] 96 |     Finished,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: bounds on `Self: Drop` are useless, consider instead using `core::mem::needs_drop` to detect if a type has a destructor
[INFO] [stdout]    --> src/mutex.rs:104:46
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub trait MutexInnerImpl where Self: Sized + Drop {
[INFO] [stdout]     |                                              ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(drop_bounds)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused boxed boxed `Fn` trait object that must be used
[INFO] [stdout]    --> src/timers.rs:191:17
[INFO] [stdout]     |
[INFO] [stdout] 191 |                 Box::from_raw(callback_ptr as *mut Box<Fn(Timer)>);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: closures are lazy and do nothing unless called
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 53 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.97s
[INFO] running `Command { std: "docker" "inspect" "fae38deb9d8895125bdc397433c14f55ab2c0913d7fd63db0f705e63a23635f9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fae38deb9d8895125bdc397433c14f55ab2c0913d7fd63db0f705e63a23635f9", kill_on_drop: false }`
[INFO] [stdout] fae38deb9d8895125bdc397433c14f55ab2c0913d7fd63db0f705e63a23635f9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 6b5f65be68b33f50817ab96673f257c8251a21d0afc0c2f9a9452da4f7ab7c1d
[INFO] running `Command { std: "docker" "start" "-a" "6b5f65be68b33f50817ab96673f257c8251a21d0afc0c2f9a9452da4f7ab7c1d", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `crate::base::*`
[INFO] [stdout]  --> src/shim.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::base::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::task::*`
[INFO] [stdout]  --> src/timers.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::task::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::mutex::*`
[INFO] [stdout]  --> src/timers.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::mutex::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::queue::*`
[INFO] [stdout]  --> src/timers.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::queue::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/timers.rs:74:45
[INFO] [stdout]    |
[INFO] [stdout] 74 | ...                   callback: Box<Fn(Timer) + Send + 'a>,)
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Timer) + Send + 'a`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/timers.rs:108:72
[INFO] [stdout]     |
[INFO] [stdout] 108 |                         let b = Box::from_raw(callback_ptr as *mut Box<Fn(Timer)>);
[INFO] [stdout]     |                                                                        ^^^^^^^^^ help: use `dyn`: `dyn Fn(Timer)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/timers.rs:191:56
[INFO] [stdout]     |
[INFO] [stdout] 191 |                 Box::from_raw(callback_ptr as *mut Box<Fn(Timer)>);
[INFO] [stdout]     |                                                        ^^^^^^^^^ help: use `dyn`: `dyn Fn(Timer)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` is ignored on function prototypes
[INFO] [stdout]    --> src/mutex.rs:105:5
[INFO] [stdout]     |
[INFO] [stdout] 105 |     #[inline]
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_attributes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` is ignored on function prototypes
[INFO] [stdout]    --> src/mutex.rs:107:5
[INFO] [stdout]     |
[INFO] [stdout] 107 |     #[inline]
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` is ignored on function prototypes
[INFO] [stdout]    --> src/mutex.rs:109:5
[INFO] [stdout]     |
[INFO] [stdout] 109 |     #[inline]
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` is ignored on function prototypes
[INFO] [stdout]  --> src/units.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     #[inline]
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` is ignored on function prototypes
[INFO] [stdout]  --> src/units.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     #[inline]
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:184:9
[INFO] [stdout]     |
[INFO] [stdout] 184 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:201:9
[INFO] [stdout]     |
[INFO] [stdout] 201 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:228:9
[INFO] [stdout]     |
[INFO] [stdout] 228 |         unsafe { freertos_rs_task_notify_take(if clear { 1 } else { 0 }, wait_for.to_ticks()) }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:239:17
[INFO] [stdout]     |
[INFO] [stdout] 239 |         let r = unsafe { 
[INFO] [stdout]     |                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:255:9
[INFO] [stdout]     |
[INFO] [stdout] 255 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:266:9
[INFO] [stdout]     |
[INFO] [stdout] 266 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:273:9
[INFO] [stdout]     |
[INFO] [stdout] 273 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:345:9
[INFO] [stdout]     |
[INFO] [stdout] 345 |         unsafe { freertos_rs_xTaskGetTickCount() }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:353:9
[INFO] [stdout]     |
[INFO] [stdout] 353 |         unsafe { freertos_rs_get_number_of_tasks() as usize }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/timers.rs:138:9
[INFO] [stdout]     |
[INFO] [stdout] 138 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/timers.rs:149:9
[INFO] [stdout]     |
[INFO] [stdout] 149 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/timers.rs:160:9
[INFO] [stdout]     |
[INFO] [stdout] 160 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/timers.rs:178:9
[INFO] [stdout]     |
[INFO] [stdout] 178 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/queue.rs:23:22
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let handle = unsafe { freertos_rs_queue_create(max_size as u32, item_size as u32) };
[INFO] [stdout]    |                      ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/queue.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/queue.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/semaphore.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/semaphore.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/semaphore.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/semaphore.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/semaphore.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/mutex.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:117:17
[INFO] [stdout]     |
[INFO] [stdout] 117 |         let m = unsafe { freertos_rs_create_mutex() };
[INFO] [stdout]     |                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:125:19
[INFO] [stdout]     |
[INFO] [stdout] 125 |         let res = unsafe { freertos_rs_take_mutex(self.0, max_wait.to_ticks()) };
[INFO] [stdout]     |                   ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:135:9
[INFO] [stdout]     |
[INFO] [stdout] 135 |         unsafe { freertos_rs_give_mutex(self.0); }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:141:9
[INFO] [stdout]     |
[INFO] [stdout] 141 |         unsafe { freertos_rs_delete_semaphore(self.0) }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:154:17
[INFO] [stdout]     |
[INFO] [stdout] 154 |         let m = unsafe { freertos_rs_create_recursive_mutex() };
[INFO] [stdout]     |                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:162:19
[INFO] [stdout]     |
[INFO] [stdout] 162 |         let res = unsafe { freertos_rs_take_recursive_mutex(self.0, max_wait.to_ticks()) };
[INFO] [stdout]     |                   ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:172:9
[INFO] [stdout]     |
[INFO] [stdout] 172 |         unsafe { freertos_rs_give_recursive_mutex(self.0); }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:178:9
[INFO] [stdout]     |
[INFO] [stdout] 178 |         unsafe { freertos_rs_delete_semaphore(self.0) }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/units.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         unsafe { freertos_rs_get_portTICK_PERIOD_MS() }
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/units.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |         unsafe { freertos_rs_max_wait() }
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/utils.rs:37:22
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let c_size = unsafe { freertos_rs_sizeof(check.0) };
[INFO] [stdout]    |                      ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/isr.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |             unsafe { freertos_rs_isr_yield(); }
[INFO] [stdout]    |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/delays.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]  --> src/critical.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |         unsafe { freertos_rs_enter_critical(); }
[INFO] [stdout]   |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/critical.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         unsafe { freertos_rs_exit_critical(); }
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias is never used: `FreeRtosStackType`
[INFO] [stdout]   --> src/base.rs:40:1
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub type FreeRtosStackType = *const CVoid;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Finished`
[INFO] [stdout]   --> src/patterns/compute_task.rs:96:5
[INFO] [stdout]    |
[INFO] [stdout] 96 |     Finished,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: bounds on `Self: Drop` are useless, consider instead using `core::mem::needs_drop` to detect if a type has a destructor
[INFO] [stdout]    --> src/mutex.rs:104:46
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub trait MutexInnerImpl where Self: Sized + Drop {
[INFO] [stdout]     |                                              ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(drop_bounds)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused boxed boxed `Fn` trait object that must be used
[INFO] [stdout]    --> src/timers.rs:191:17
[INFO] [stdout]     |
[INFO] [stdout] 191 |                 Box::from_raw(callback_ptr as *mut Box<Fn(Timer)>);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: closures are lazy and do nothing unless called
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 53 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling freertos_rs v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::base::*`
[INFO] [stdout]  --> src/shim.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::base::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::task::*`
[INFO] [stdout]  --> src/timers.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::task::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::mutex::*`
[INFO] [stdout]  --> src/timers.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::mutex::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::queue::*`
[INFO] [stdout]  --> src/timers.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::queue::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/timers.rs:74:45
[INFO] [stdout]    |
[INFO] [stdout] 74 | ...                   callback: Box<Fn(Timer) + Send + 'a>,)
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Timer) + Send + 'a`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/timers.rs:108:72
[INFO] [stdout]     |
[INFO] [stdout] 108 |                         let b = Box::from_raw(callback_ptr as *mut Box<Fn(Timer)>);
[INFO] [stdout]     |                                                                        ^^^^^^^^^ help: use `dyn`: `dyn Fn(Timer)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/timers.rs:191:56
[INFO] [stdout]     |
[INFO] [stdout] 191 |                 Box::from_raw(callback_ptr as *mut Box<Fn(Timer)>);
[INFO] [stdout]     |                                                        ^^^^^^^^^ help: use `dyn`: `dyn Fn(Timer)`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` is ignored on function prototypes
[INFO] [stdout]    --> src/mutex.rs:105:5
[INFO] [stdout]     |
[INFO] [stdout] 105 |     #[inline]
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_attributes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` is ignored on function prototypes
[INFO] [stdout]    --> src/mutex.rs:107:5
[INFO] [stdout]     |
[INFO] [stdout] 107 |     #[inline]
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` is ignored on function prototypes
[INFO] [stdout]    --> src/mutex.rs:109:5
[INFO] [stdout]     |
[INFO] [stdout] 109 |     #[inline]
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` is ignored on function prototypes
[INFO] [stdout]  --> src/units.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     #[inline]
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` is ignored on function prototypes
[INFO] [stdout]  --> src/units.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     #[inline]
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:184:9
[INFO] [stdout]     |
[INFO] [stdout] 184 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:201:9
[INFO] [stdout]     |
[INFO] [stdout] 201 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:228:9
[INFO] [stdout]     |
[INFO] [stdout] 228 |         unsafe { freertos_rs_task_notify_take(if clear { 1 } else { 0 }, wait_for.to_ticks()) }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:239:17
[INFO] [stdout]     |
[INFO] [stdout] 239 |         let r = unsafe { 
[INFO] [stdout]     |                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:255:9
[INFO] [stdout]     |
[INFO] [stdout] 255 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:266:9
[INFO] [stdout]     |
[INFO] [stdout] 266 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:273:9
[INFO] [stdout]     |
[INFO] [stdout] 273 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:345:9
[INFO] [stdout]     |
[INFO] [stdout] 345 |         unsafe { freertos_rs_xTaskGetTickCount() }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/task.rs:353:9
[INFO] [stdout]     |
[INFO] [stdout] 353 |         unsafe { freertos_rs_get_number_of_tasks() as usize }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/timers.rs:138:9
[INFO] [stdout]     |
[INFO] [stdout] 138 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/timers.rs:149:9
[INFO] [stdout]     |
[INFO] [stdout] 149 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/timers.rs:160:9
[INFO] [stdout]     |
[INFO] [stdout] 160 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/timers.rs:178:9
[INFO] [stdout]     |
[INFO] [stdout] 178 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/queue.rs:23:22
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let handle = unsafe { freertos_rs_queue_create(max_size as u32, item_size as u32) };
[INFO] [stdout]    |                      ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/queue.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/queue.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/semaphore.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/semaphore.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/semaphore.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/semaphore.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/semaphore.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/mutex.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:117:17
[INFO] [stdout]     |
[INFO] [stdout] 117 |         let m = unsafe { freertos_rs_create_mutex() };
[INFO] [stdout]     |                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:125:19
[INFO] [stdout]     |
[INFO] [stdout] 125 |         let res = unsafe { freertos_rs_take_mutex(self.0, max_wait.to_ticks()) };
[INFO] [stdout]     |                   ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:135:9
[INFO] [stdout]     |
[INFO] [stdout] 135 |         unsafe { freertos_rs_give_mutex(self.0); }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:141:9
[INFO] [stdout]     |
[INFO] [stdout] 141 |         unsafe { freertos_rs_delete_semaphore(self.0) }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:154:17
[INFO] [stdout]     |
[INFO] [stdout] 154 |         let m = unsafe { freertos_rs_create_recursive_mutex() };
[INFO] [stdout]     |                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:162:19
[INFO] [stdout]     |
[INFO] [stdout] 162 |         let res = unsafe { freertos_rs_take_recursive_mutex(self.0, max_wait.to_ticks()) };
[INFO] [stdout]     |                   ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:172:9
[INFO] [stdout]     |
[INFO] [stdout] 172 |         unsafe { freertos_rs_give_recursive_mutex(self.0); }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mutex.rs:178:9
[INFO] [stdout]     |
[INFO] [stdout] 178 |         unsafe { freertos_rs_delete_semaphore(self.0) }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/units.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         unsafe { freertos_rs_get_portTICK_PERIOD_MS() }
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/units.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |         unsafe { freertos_rs_max_wait() }
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/utils.rs:37:22
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let c_size = unsafe { freertos_rs_sizeof(check.0) };
[INFO] [stdout]    |                      ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/isr.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |             unsafe { freertos_rs_isr_yield(); }
[INFO] [stdout]    |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/delays.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]  --> src/critical.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |         unsafe { freertos_rs_enter_critical(); }
[INFO] [stdout]   |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/critical.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         unsafe { freertos_rs_exit_critical(); }
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias is never used: `FreeRtosStackType`
[INFO] [stdout]   --> src/base.rs:40:1
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub type FreeRtosStackType = *const CVoid;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Finished`
[INFO] [stdout]   --> src/patterns/compute_task.rs:96:5
[INFO] [stdout]    |
[INFO] [stdout] 96 |     Finished,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: bounds on `Self: Drop` are useless, consider instead using `core::mem::needs_drop` to detect if a type has a destructor
[INFO] [stdout]    --> src/mutex.rs:104:46
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub trait MutexInnerImpl where Self: Sized + Drop {
[INFO] [stdout]     |                                              ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(drop_bounds)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused boxed boxed `Fn` trait object that must be used
[INFO] [stdout]    --> src/timers.rs:191:17
[INFO] [stdout]     |
[INFO] [stdout] 191 |                 Box::from_raw(callback_ptr as *mut Box<Fn(Timer)>);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: closures are lazy and do nothing unless called
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 53 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.64s
[INFO] running `Command { std: "docker" "inspect" "6b5f65be68b33f50817ab96673f257c8251a21d0afc0c2f9a9452da4f7ab7c1d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6b5f65be68b33f50817ab96673f257c8251a21d0afc0c2f9a9452da4f7ab7c1d", kill_on_drop: false }`
[INFO] [stdout] 6b5f65be68b33f50817ab96673f257c8251a21d0afc0c2f9a9452da4f7ab7c1d
